package com.hc.sss.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * take[帮我取]
 * @author Administrator
 *
 */
public class Take implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String takeId;//任务id

    private String takeAddr;//取货地址【关联地址表】

    private String takeDeliverAddr;//送达地址【关联地址表】

    private String takePhone;//联系电话

    private Integer takeDictType;//物品信息【关联基础数据表】

    private String takeOrderId;//订单流水号【是订单表主键】

    private Integer takeStatus;//任务状态(-1删除，1正常，2正在进行，3完成任务，4任务失败 5取消)

    private Integer takePublish;//发布人【关联用户表】

    private Integer takeReceive;//接受人【关联用户表】

    private Date takeReceiveTime;//接单时间

    private Date takeCreateTime;//创建时间

    private Date takeUpdateTime;//更新时间

    /**
     * lcx
     * 2021年4月15日10:27:31
     */
    private Order order;//订单
    private Address address1;//拿货地址
    private Address address2;//收货地址
    private User user1;//用户
    private User user2; //接单人
    private Dict dict;//基础数据表

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Address getAddress1() {
        return address1;
    }

    public void setAddress1(Address address1) {
        this.address1 = address1;
    }

    public Address getAddress2() {
        return address2;
    }

    public void setAddress2(Address address2) {
        this.address2 = address2;
    }

    public User getUser1() {
        return user1;
    }

    public void setUser1(User user1) {
        this.user1 = user1;
    }

    public User getUser2() {
        return user2;
    }

    public void setUser2(User user2) {
        this.user2 = user2;
    }

    public Dict getDict() {
        return dict;
    }

    public void setDict(Dict dict) {
        this.dict = dict;
    }

    public String getTakeId() {
		return takeId;
	}

	public void setTakeId(String takeId) {
		this.takeId = takeId;
	}

	public String getTakeAddr() {
		return takeAddr;
	}

	public void setTakeAddr(String takeAddr) {
		this.takeAddr = takeAddr;
	}

	public String getTakeDeliverAddr() {
		return takeDeliverAddr;
	}

	public void setTakeDeliverAddr(String takeDeliverAddr) {
		this.takeDeliverAddr = takeDeliverAddr;
	}

	public String getTakePhone() {
        return takePhone;
    }

    public void setTakePhone(String takePhone) {
        this.takePhone = takePhone == null ? null : takePhone.trim();
    }

    public Integer getTakeDictType() {
        return takeDictType;
    }

    public void setTakeDictType(Integer takeDictType) {
        this.takeDictType = takeDictType;
    }

    public String getTakeOrderId() {
        return takeOrderId;
    }

    public void setTakeOrderId(String takeOrderId) {
        this.takeOrderId = takeOrderId == null ? null : takeOrderId.trim();
    }

    public Integer getTakeStatus() {
        return takeStatus;
    }

    public void setTakeStatus(Integer takeStatus) {
        this.takeStatus = takeStatus;
    }

    public Integer getTakePublish() {
        return takePublish;
    }

    public void setTakePublish(Integer takePublish) {
        this.takePublish = takePublish;
    }

    public Integer getTakeReceive() {
        return takeReceive;
    }

    public void setTakeReceive(Integer takeReceive) {
        this.takeReceive = takeReceive;
    }

    public Date getTakeReceiveTime() {
        return takeReceiveTime;
    }

    public void setTakeReceiveTime(Date takeReceiveTime) {
        this.takeReceiveTime = takeReceiveTime;
    }

    public Date getTakeCreateTime() {
        return takeCreateTime;
    }

    public void setTakeCreateTime(Date takeCreateTime) {
        this.takeCreateTime = takeCreateTime;
    }

    public Date getTakeUpdateTime() {
        return takeUpdateTime;
    }

    public void setTakeUpdateTime(Date takeUpdateTime) {
        this.takeUpdateTime = takeUpdateTime;
    }
}